// 分行专区
import {request} from './request'

//新建分行
export function SaveCompany(params){
    return request({
        url:'/api/boss/company_hot/store',
        method:'POST',
        params
    })
}

//列表
export function ListCompany(){
    return request({
        url:'/api/boss/company_hot/list',
    })
}

//更新
export function RenewCompany(data){
    return request({
        url:`/api/boss/company_hot/update/${data.id}`,
        method:'PUT',
        data
    })
}

//删除
export function DeleteCompany(id){
    return request({
        url:`/api/boss/company_hot/delete/${id}`,
        method:'DELETE'
    })
}